import Vue from 'vue'
import Vuex from 'vuex'
import SideBarItems from '../common/sidBarItem';
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    status: {
      loggedIn: false,//是否登录
      userId: -1,//ID
      username: "",//姓名
      userType: 0,//用户的权限
      token:""//token
    },
  sideBarItems:SideBarItems //静态页面先设置管理员side
  },
  getters: {
    
  },
  mutations: {
    
  },
  actions: {
  },
  modules: {
  }
})
